$(window).bind("load", function() {
    var wy_wodejumei = document.querySelectorAll(".discount>span");
    wy_wodejumei.forEach(function(index, item) {
        item.innerHTML = "main"
    })

    var today_time_gjqs = document.querySelectorAll(".today_time");
    var today_time_ppzq = document.querySelectorAll(".time_box");


    setInterval(function() {
        var time = new Date();

        today_time_gjqs.forEach(function(item) {
            item.innerHTML = "还剩1天" + (24 - time.getHours()) + "时" + (59 - time.getMinutes()) + "分" + (60 - time.getSeconds()) + "秒";
        })
        today_time_ppzq.forEach(function(item) {
            item.innerHTML = '<span class="corn"></span>&nbsp;剩余 <span>19</span>天<span>' + (24 - time.getHours()) + '</span>时<span>' + (59 - time.getMinutes()) + '</span>分<span>' + (60 - time.getSeconds()) + '</span>秒';
        })
    }, 1000)
})